package cn.px.service.check;


import cn.px.dao.dto.check.CheckStandardSpareDTO;
import cn.px.dao.entity.check.CheckStandardSpare;
import cn.px.dao.vo.query.check.CheckStandardSpareVO;
import cn.px.service.base.IBaseService;
import tk.mybatis.mapper.weekend.Weekend;

import java.util.List;

/**
 * @Description 用户与角色 service
 * @author 品讯科技
 * @date 2024-08
 * @Version Copyright (c) 2019,北京乾元坤和科技有限公司 All rights reserved.
 */
public interface CheckStandardSpareService extends IBaseService<CheckStandardSpare, CheckStandardSpareDTO> {

    void deleteByExample(Weekend<CheckStandardSpare> detailWeekend);

    void insertListforComplex(List<CheckStandardSpare> addDetailList);

    void updateBatch(List<CheckStandardSpare> updateDetailList);

    /**
     * 查询保养对应的备件列表
     *
     * @param checkId :
     * @return :
     */
    List<CheckStandardSpareVO> selectVOListByCheckId(String checkId);

    CheckStandardSpare selectOneByExample(Weekend<CheckStandardSpare> weekend);
}
